'use strict';

// const jshint = require('./jshint');
// const buildJS = require('./webpack');
// const clean = require('./clean');
// const styl2css = require('./styl2css');
// const livereload = require('./livereload');
// const watcher = require('glob-watcher');
const server = require('./server');
// const jade2js = require('./jade2js');

//预编译css
// clean(['public/css/*']);
//打包js
// clean(['public/js/*'], function() {
//     //js代码检查
//     jshint(['client/js/**/*.js'], function() {
//         //webpack打包
//         buildJS.dev(['client/js/*/*.js'], 'public/js', function() {
//             //livereload
//             livereload();
//
//             watcher('client/js/**/*.js').on('change', function(path) {
//                 jshint(path);
//             });
//         });
//     });
//
//     jade2js(['app/client/views/**/*.jade'], 'public/tpls');
// });

server();